all: 
	$(MAKE) -C src/
	
clean:
	rm -f ./earthprotector; $(MAKE) -C src/ clean
	
.PHONY: all clean docs pushDocs tar

	
docs: 
	doxygen

pushDocs: docs
	 rsync -h -i --progress -r -t -u -v -O -e "/usr/bin/ssh" ./docs/ p080558@fenix.cmi.ua.ac.be:/export/nscr/p08/p080558/EarthProtectorDocs

tar-eclipse: clean
	tar -cvzf earthprotector.tar.gz src/ .cproject .project Makefile Doxyfile

tar: 
	git archive --format=tar --prefix=EarthProtector/ HEAD | gzip > earthprotector.tar.gz
